package com.bawei.lib_storage.database.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "b_favorite_video")
data class FavoriteVideoEntity(
    @PrimaryKey(autoGenerate = true) val id: Int = 0,
    @ColumnInfo val videoId: Int, // 视频ID
    @ColumnInfo val title: String, // 视频标题
    @ColumnInfo val description: String, // 视频描述
    @ColumnInfo val coverUrl: String, // 封面图片URL
    @ColumnInfo val videoUrl: String, // 视频URL
    @ColumnInfo val userId: String, // 用户ID
    @ColumnInfo val collectTime: Long = System.currentTimeMillis() // 收藏时间
) 